package cn.wolfcode.luowowo.common.query;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class ScenicDetailQueryObject extends QueryObject {
    public static final int GOLD_COMMENT = 1;//金牌点评
    public static final int HAS_PICTURE = 2;//有图片
    public static final int GOOD_COMMENT = 3;//好评
    public static final int NORMAL_COMMENT = 4;//中评
    public static final int BAD_COMMENT = 5;//差评

    //目的地id
    private Long destId;
    //景点id
    private Long scenicId;
    //星星数
    private Integer rank;
    //查询的关键字(通过es分词器查询出来的关键字对应的id,需要转换成关键字)
    private int category = 0;
    //查询类型,默认为利用mysql查询全部
    private int type = 1;
    //查询条件
    private String condition;
    //主题id
    private Long themeId;
}
